<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>FakeIME</TITLE>
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">Japanese IME Sample FAKEIME </A> </H2>


<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
This sample code gives demonstrations on developing ANSI IME and Unicode IME for the Japanese versions of Windows&#174; XP, Windows&#174; 2000 and Windows 98. The FakeIME can be built as a pure ANSI version (the A version) or as a mixed Unicode/ANSI version for Windows 98 (the M version).<P>
Use the following key combinations when using FakeIME.<P>
<LI><B>When the composition string is not there:</B><br>
Change mode of ROMAN: CTRL+F3<br>
Change mode to HIRAGANA: CTRL+F6<br>
Change mode to KATAKANA: CTRL+F7<br>
Change mode to HANKAKU: CTRL+F8<br>
Change mode to ALPHANUMERIC: CTRL+F9<P>
<LI><B>When the composition string is there:</B><br>
Convert Key: SPACE<br>
Finalize Key: ENTER<br>
Convert to HIRAGANA: F6<br>
Convert to KATAKANA: F7<P>
<H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
You can use any language edition of Windows 2000 or Windows XP to build these samples. If you are using Windows 98 or Windows NT&#174; 4.0 as your build environment, please install Japanese Windows 98 or Windows NT 4.0. If you are using MSVC to build the sample instead of the using the DDK tools, please apply MSVC 5.0 SP3. Otherwise, the sample will have link errors.<P>
To build this sample, go into either the A or the M folder. The A version is a pure ANSI version. The M version is a mixed Unicode and ANSI version that can run on Windows 98 and Windows NT&#174;/Windows 2000/Windows XP. It demonstrates how to develop Unicode IME for Windows 98. <P>
This sample works on both x86 and Alpha platforms, and the code is 64-bit compliant. The code builds properly with Microsoft Visual C&#174; 6.0. <P>
<B>Note</B>: In the Windows 95 DDK, the DDK IME header file is named Imm.h. The IME header file in the Platform SDK bears the same name, but contains different content. The Imm.h in the DDK includes APIs and data structures, which are not used for application development and so are not included in the SDK version. In this release, the DDK filename has been changed to Immdev.h. If you have old IMEs that need to build under the new DDK, please change your source code to use the new header filename. <P>

<H3>RESOURCES</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
The IME documentation in the DDK is to be used for IME development. For information on development of IME-aware applications, see the IME documentation in the Platform SDK. 
<P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Fakeime.inf&#9;Installing IME
Immsec.c&#9;Security handling on Windows NT
Toascii.c&#9;ImeToAsciiEx routing handling
Process.c&#9;Virtual key data for ImeProcessKey
Dic.c&#9;	Dictionary processing
Dic2.c&#9;	Roman/Kana, and Full/half size conversion
Regword.c&#9;Dictionary word registration processing
Uicand.c&#9;Candidate UI window handling
Uicomp.c&#9;Composition UI window handling
Config.c&#9;Configuration window
Data.c&#9;	Global data initialization
Uistate.c&#9;Status UI window handling
Uiguide.c&#9;Guideline window 
Ui.c&#9;	Default UI window handler
Input.c&#9;	WM_IMEKEYUP/DOWN handler
Imm.c&#9;	ImeXXX API entry routings
Fakeime.c&#9;DLL entry rounting


</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>

<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 2004 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>
